﻿using System;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace RedSand.Site.Models
{
    public class ComponentsInfo
    {
        [Key]
        [HiddenInput(DisplayValue=false)]
        public int ComponentsID{ get; set; }

        [Display(Name = "ParentID")]
        public int? ParentID{ get; set; }

        [Display(Name = "Name")]
        [Required]
        public string Name{ get; set; }

        [Display(Name = "Category")]
        public int? CategoryID{ get; set; }

        [Display(Name = "Order")]
        public int? Order { get; set; }
    }
}
